//
//  main.swift
//  hello-swift
//
//  Created by whroid on 2020/7/4.
//  Copyright © 2020 whros. All rights reserved.
//

import Foundation

let date = Date()
let timeFormatter = DateFormatter()
//日期显示格式，可按自己需求显示
timeFormatter.dateFormat = "yyy-MM-dd' at 'HH:mm:ss.SSS"
let strNowTime = timeFormatter.string(from: date) as String
print("Hello World,  Now is " + strNowTime)
